#include "app/InputEvent.h"
#include "util/StringUtils.h"

InputEvent::InputEvent() {

}

InputEvent::~InputEvent() {

}

void InputEvent::fillEvent(SDL_Event event) {
	this->event = event;
}

InputEventType InputEvent::getType() {
	return (InputEventType) this->event.type;
}

InputEventKey InputEvent::getKey() {
	return (InputEventKey) this->event.key.keysym.sym;
}

std::string InputEvent::toString() {
	return util::intToString(this->event.key.keysym.sym);
}
